<template>
	<div class="kComponent" :class="'design'">
		<uni-forms-item :label="datas.label" :name="datas.name">
			<uni-easyinput v-model="itemModel"
				:placeholder="datas.placeholder"
				:type="datas.type"
				clearable
				:autoHeight="datas.autoHeight"
				:placeholderStyle="datas.placeholderStyle"
				:focus="datas.focus"
				:disabled="datas.disabled"
				:maxlength="datas.maxlength"
				:styles="datas.styles"
			
			></uni-easyinput>
		</uni-forms-item>
		<!-- 删除组件 -->
		<slot name="deles" />
	</div>
</template>

<script>
	export default {
		name: 'kInput',
		props: {
			datas: Object,
		},
		data() {
			return {
				itemModel: null

				// currentIndex: -1
			}
		},
		mounted() {},
		methods: {

		}
	}
</script>

<style scoped lang="scss">
	.design {


	}
</style>